import QtQuick 2.0
import QtQuick.Controls 2.5

//主页的tcp按钮
Component{
    Rectangle{
        width: 150
        height: 200
        border.color: "black"
        border.width: 1
        Image{
            anchors.centerIn: parent
            width: parent.height - 2
            height: parent.height
            //这里到时候也需要改
            source: "images/1.jpg"
            fillMode: Image.PreserveAspectFit
        }
    }
}
